// 分页类型导出
export interface PaginationConfig {
  current: number;
  pageSize: number;
}

// 获取函数的第一个参数类型
export type FunFirstParam<T extends (...args: any) => any> = Parameters<T>['0'];

// U的key重写T, & U
export type OverWrite<T, U> = Pick<T, Exclude<keyof T, keyof U>> & U;
